gtk4.git
7 years agoreftests: Fix iconview-empty test
Benjamin Otte [Fri, 29 Mar 2019 04:17:35 +0000 (05:17 +0100)]
reftests: Fix iconview-empty test

Images have a static size now, use a GtkPicture instead.

7 years agocssimagelinear: Make gradient offsets stay in [0, 1]
Benjamin Otte [Fri, 29 Mar 2019 04:01:33 +0000 (05:01 +0100)]
cssimagelinear: Make gradient offsets stay in [0, 1]

Fixes linear-gradient reftest

7 years agoreftests: Fix shorthand-entry-border test
Benjamin Otte [Fri, 29 Mar 2019 03:11:11 +0000 (04:11 +0100)]
reftests: Fix shorthand-entry-border test

We weren't setting CSS back to defaults, so the border highlight
transition would be at different stages when the 2 snapshots happened.

7 years agoreftests: Remove style-properties-nth-child test
Benjamin Otte [Fri, 29 Mar 2019 03:04:27 +0000 (04:04 +0100)]
reftests: Remove style-properties-nth-child test

Style properties don't exist anymore.

7 years agoreftests: Fix statusbar-remove-all test
Benjamin Otte [Fri, 29 Mar 2019 03:02:34 +0000 (04:02 +0100)]
reftests: Fix statusbar-remove-all test

7 years agotextview: Paint border windows in the right spot
Benjamin Otte [Fri, 29 Mar 2019 03:00:59 +0000 (04:00 +0100)]
textview: Paint border windows in the right spot

Fixes textview-border-windows reftest

7 years agoFix textview-margins reftest
Benjamin Otte [Fri, 29 Mar 2019 02:42:16 +0000 (03:42 +0100)]
Fix textview-margins reftest

Draw something, otherwise the test will timeout

7 years agoheaderbar: Duct-tape over the measure mess
Benjamin Otte [Fri, 29 Mar 2019 02:31:04 +0000 (03:31 +0100)]
headerbar: Duct-tape over the measure mess

Fixes various reftests.

The headerbar needs soeone to redo sizing.

7 years agoreftests: Fix inherit-and-initial test
Benjamin Otte [Thu, 28 Mar 2019 23:24:54 +0000 (00:24 +0100)]
reftests: Fix inherit-and-initial test

Run gtk-builder-tool --3to4 over it. As the test cares about the
"initial" and "inherit" CSS keywords, the actual widgets aren't that
important. It's just important to have many of them.

7 years agotextlayout: Allow querying empty areas
Benjamin Otte [Thu, 28 Mar 2019 23:24:00 +0000 (00:24 +0100)]
textlayout: Allow querying empty areas

This only happens when the textview has no content, but it does happen
now that such a textview gets allocated 0x0 and not 1x1.

7 years agorendernode: Round pixel colors in color matrix drawing
Benjamin Otte [Thu, 28 Mar 2019 22:57:00 +0000 (23:57 +0100)]
rendernode: Round pixel colors in color matrix drawing

Fixes symbolic-icon-translucent-color.ui reftest

7 years agoreftests: Remove info-bar-message-types test
Benjamin Otte [Thu, 28 Mar 2019 19:44:39 +0000 (20:44 +0100)]
reftests: Remove info-bar-message-types test

- The test doesn't properly test infobars. An infobar is not a box.

- Infobar message types aren't styled anymore.

7 years agoreftests: Fix notebook-tab-position test
Benjamin Otte [Thu, 28 Mar 2019 19:33:33 +0000 (20:33 +0100)]
reftests: Fix notebook-tab-position test

The tab-fill child property is gone, don't use it.

7 years agoreftests: Fix icon-style-basics test
Benjamin Otte [Thu, 28 Mar 2019 00:10:16 +0000 (01:10 +0100)]
reftests: Fix icon-style-basics test

Add a type-func to the GThemedIcon and GEmeblemedIcon usages so
GtkBuilder finds them.

7 years agoreftests: Fix css-match-name test
Benjamin Otte [Wed, 27 Mar 2019 23:54:49 +0000 (00:54 +0100)]
reftests: Fix css-match-name test

- Replace GtkImage::pixbuf with GtkImage::paintable
- Use a GtkPicture so the sizing is correct

7 years agoreftests: Fix css-match-type test
Benjamin Otte [Wed, 27 Mar 2019 23:52:35 +0000 (00:52 +0100)]
reftests: Fix css-match-type test

- Replace GtkImage::pixbuf with GtkImage::paintable
- Use a GtkPicture so the sizing is correct

7 years agoreftests: Fix border-image-excess-size.ui test
Benjamin Otte [Wed, 27 Mar 2019 23:39:36 +0000 (00:39 +0100)]
reftests: Fix border-image-excess-size.ui test

The old reftests drew an opaque image, the new image is transparent.

This test drew the reference image as black and the test as transparent
black, and those are now different.

7 years agoreftests: Delete removed tests from testdata
Benjamin Otte [Wed, 27 Mar 2019 23:34:23 +0000 (00:34 +0100)]
reftests: Delete removed tests from testdata

7 years agoreftests: Fix css-currentcolor-alpha.ui test
Benjamin Otte [Wed, 27 Mar 2019 23:27:51 +0000 (00:27 +0100)]
reftests: Fix css-currentcolor-alpha.ui test

The test did not draw anything, which fails now.

7 years agoreftests: Fix css-match-class test
Benjamin Otte [Wed, 27 Mar 2019 23:24:44 +0000 (00:24 +0100)]
reftests: Fix css-match-class test

- Replace GtkImage::pixbuf with GtkImage::paintable
- Use a GtkPicture so the sizing is correct

7 years agoreftests: Fix background-size-zero test
Benjamin Otte [Wed, 27 Mar 2019 04:19:42 +0000 (05:19 +0100)]
reftests: Fix background-size-zero test

We were drawing nothing, causing a timeout.

7 years agoreftests: Fix nth-child test
Benjamin Otte [Wed, 27 Mar 2019 04:02:22 +0000 (05:02 +0100)]
reftests: Fix nth-child test

Box children no longer have a "position" child property.

7 years agoreftests: Fix treeview-fixed-height test
Benjamin Otte [Wed, 27 Mar 2019 03:53:56 +0000 (04:53 +0100)]
reftests: Fix treeview-fixed-height test

Convert -gtk-gradient() to linear-gradient in the CSS.

7 years agoreftests: Actually build a module
Benjamin Otte [Wed, 27 Mar 2019 03:52:59 +0000 (04:52 +0100)]
reftests: Actually build a module

Reftests are expecting a module called libreftest.so, so don't build a
static libgtkreftest.a but what they expect.

7 years agoreftests: Fix actionbar test
Benjamin Otte [Wed, 27 Mar 2019 03:36:15 +0000 (04:36 +0100)]
reftests: Fix actionbar test

Boxes have no pack-type anymore.

7 years agoreftests: Fix window-height-for-width test
Benjamin Otte [Wed, 27 Mar 2019 02:55:18 +0000 (03:55 +0100)]
reftests: Fix window-height-for-width test

The dialog's vbox internal child is now called content_area

7 years agoreftests: Fix grid-spacing1 test
Benjamin Otte [Wed, 27 Mar 2019 02:46:03 +0000 (03:46 +0100)]
reftests: Fix grid-spacing1 test

7 years agoreftests: Fix unresolvable.ui test
Benjamin Otte [Wed, 27 Mar 2019 02:41:13 +0000 (03:41 +0100)]
reftests: Fix unresolvable.ui test

- Make sure we draw something
- Don't use -gtk-gradient() but linear-gradient instead

7 years agowidgetpaintable: Don't emit signals on dispose
Benjamin Otte [Wed, 27 Mar 2019 02:41:03 +0000 (03:41 +0100)]
widgetpaintable: Don't emit signals on dispose

7 years agoreftest: Be more careful about snapshotting
Benjamin Otte [Wed, 27 Mar 2019 02:19:05 +0000 (03:19 +0100)]
reftest: Be more careful about snapshotting

Instead of waiting for the first invalidate-contents signal, wait until
we get a render node. This will break spectacularly for reftests not
drawing anything at all, but we just hope that won't happen.

7 years agoreftests: Make meson run every test separately
Benjamin Otte [Wed, 27 Mar 2019 01:59:13 +0000 (02:59 +0100)]
reftests: Make meson run every test separately

This way, we don't get an abort once the first test gets a warning.

We also can use meson test to run individual tests.

Unfortunately, only ~60% of tests pass.

7 years agotestsuite: Make reftests work again
Benjamin Otte [Tue, 26 Mar 2019 16:35:26 +0000 (17:35 +0100)]
testsuite: Make reftests work again

Well, the testrunner works again, the tests don't all succeed.

So exclude them from CI.

7 years agoreftests: Remove image-recording-surface test
Benjamin Otte [Tue, 26 Mar 2019 16:09:19 +0000 (17:09 +0100)]
reftests: Remove image-recording-surface test

It's no longer possible to set surfaces on a GtkImage, so we don't need
to test that setting a recording surface works.

7 years agogdk/win32/gdkdrag-win32.c: Include math.h
Chun-wei Fan [Fri, 29 Mar 2019 08:48:29 +0000 (16:48 +0800)]
gdk/win32/gdkdrag-win32.c: Include math.h

We need that for round().

7 years agomeson.build: Pull in fallback for PangoFT2 only when needed
Chun-wei Fan [Fri, 29 Mar 2019 08:47:31 +0000 (16:47 +0800)]
meson.build: Pull in fallback for PangoFT2 only when needed

On some systems PangoFT2 is optional, so we only use the fallback when
it is being required.

7 years agoMerge branch 'adwaita-radii-fixes-master' into 'master'
Matthias Clasen [Fri, 29 Mar 2019 00:51:23 +0000 (00:51 +0000)]
Merge branch 'adwaita-radii-fixes-master' into 'master'

Adwaita radii fixes master

See merge request GNOME/gtk!628

7 years agobuilder-tool: Don't strip the xml declaration
Matthias Clasen [Thu, 28 Mar 2019 23:28:05 +0000 (19:28 -0400)]
builder-tool: Don't strip the xml declaration

This is useful for interoperability with other tools.

7 years agofile chooser entry: Fix a crash
Matthias Clasen [Thu, 28 Mar 2019 22:55:36 +0000 (18:55 -0400)]
file chooser entry: Fix a crash

The ::focus-out signal signature has changed. Adapt.

7 years agopopover menu: Fix a parameter name mismatch
Matthias Clasen [Thu, 28 Mar 2019 22:27:42 +0000 (18:27 -0400)]
popover menu: Fix a parameter name mismatch

7 years agooverlay: Remove no-longer-existing api from header
Matthias Clasen [Thu, 28 Mar 2019 22:27:25 +0000 (18:27 -0400)]
overlay: Remove no-longer-existing api from header

7 years agogtk: Some documentation cleanups
Matthias Clasen [Thu, 28 Mar 2019 22:27:08 +0000 (18:27 -0400)]
gtk: Some documentation cleanups

7 years agogsk: Fix up docs a bit
Matthias Clasen [Thu, 28 Mar 2019 22:08:15 +0000 (18:08 -0400)]
gsk: Fix up docs a bit

Some apis that were either removed or have never
existed were listed for the docs.

7 years agogsk: Add GskRoundedRect to the docs
Matthias Clasen [Thu, 28 Mar 2019 22:06:00 +0000 (18:06 -0400)]
gsk: Add GskRoundedRect to the docs

7 years agoCI: install meson 0.50
Christoph Reiter [Thu, 28 Mar 2019 21:47:18 +0000 (22:47 +0100)]
CI: install meson 0.50

7 years agoBump meson req to 0.50
Matthias Clasen [Thu, 28 Mar 2019 21:35:50 +0000 (17:35 -0400)]
Bump meson req to 0.50

meson told me to.

7 years agoMerge branch 'overlay-layout' into 'master'
Matthias Clasen [Thu, 28 Mar 2019 21:07:38 +0000 (21:07 +0000)]
Merge branch 'overlay-layout' into 'master'

overlay: Use a layout manager

See merge request GNOME/gtk!677

7 years agoConvert ui files
Matthias Clasen [Thu, 28 Mar 2019 20:35:55 +0000 (16:35 -0400)]
Convert ui files

Run gtk4-builder-tool simplify --3to4 over all ui files.

7 years agobuilder-tool: Small refactoring
Matthias Clasen [Thu, 28 Mar 2019 16:37:45 +0000 (12:37 -0400)]
builder-tool: Small refactoring

Introduce a PropKind enum, since the collection of
booleans is getting out of hands.

7 years agobuilder-tool: Convert overlay child properties
Matthias Clasen [Thu, 28 Mar 2019 16:21:52 +0000 (12:21 -0400)]
builder-tool: Convert overlay child properties

7 years agooverlay: Use a layout manager
Matthias Clasen [Thu, 28 Mar 2019 03:47:32 +0000 (23:47 -0400)]
overlay: Use a layout manager

This lets us get rid of the child properties,
by converting them to layout properties.

7 years agoUpdate POTFILES.in
Piotr DrÄ…g [Thu, 28 Mar 2019 17:58:56 +0000 (18:58 +0100)]
Update POTFILES.in

7 years agoMerge branch 'layout-child-type' into 'master'
Matthias Clasen [Thu, 28 Mar 2019 17:41:33 +0000 (17:41 +0000)]
Merge branch 'layout-child-type' into 'master'

Connect LayoutManager to LayoutChild

See merge request GNOME/gtk!678

7 years agoDo not leak unapplied layout properties
Emmanuele Bassi [Thu, 28 Mar 2019 17:22:02 +0000 (17:22 +0000)]
Do not leak unapplied layout properties

If the layout manager does not have a GtkLayoutChild, or if we cannot
apply layout properties, we should free them instead of leaking them.

7 years agoAdd missing handler for <layout> elements in UI files
Emmanuele Bassi [Thu, 28 Mar 2019 17:16:57 +0000 (17:16 +0000)]
Add missing handler for <layout> elements in UI files

The layout properties sub-parser needs to handle the parent tag.

7 years agoConnect LayoutManager to LayoutChild
Emmanuele Bassi [Thu, 28 Mar 2019 16:58:00 +0000 (16:58 +0000)]
Connect LayoutManager to LayoutChild

If we want to inspect the type of layout properties exposed by a
GtkLayoutManager, we need a way to connect the layout manager type to
the GtkLayoutChild type it creates. In order to do so, we can set the
GtkLayoutChild type on a field of the GtkLayoutManagerClass structure.

Storing the GtkLayoutChild type on the class structure of the layout
manager also allows us to implement a default create_layout_child()
virtual function.

7 years agoAdd release info to our demo apps
Emmanuele Bassi [Thu, 28 Mar 2019 12:16:53 +0000 (12:16 +0000)]
Add release info to our demo apps

The appstream-util check performed by Flatpak on recent GNOME SDKs has
become more stringent, and now it requires a <release> tag in the
AppData XML file. If we don't have it, the Flatpak bundles of gtk-demo
and gtk-widget-factory will fail on our CI infrastructure.

7 years agoDocument how to define layout manager properties
Emmanuele Bassi [Thu, 28 Mar 2019 11:47:46 +0000 (11:47 +0000)]
Document how to define layout manager properties

7 years agoMerge branch 'gbsneto/install-header' into 'master'
Matthias Clasen [Thu, 28 Mar 2019 02:48:03 +0000 (02:48 +0000)]
Merge branch 'gbsneto/install-header' into 'master'

build: Install gtkboxlayout.h

See merge request GNOME/gtk!676

7 years agoboxlayout: Notify orientation changes
Georges Basile Stavracas Neto [Thu, 28 Mar 2019 02:25:22 +0000 (23:25 -0300)]
boxlayout: Notify orientation changes

This was missing from the initial implementation, and
breaks the tests.

7 years agoMerge branch 'child-properties' into 'master'
Matthias Clasen [Thu, 28 Mar 2019 02:04:42 +0000 (02:04 +0000)]
Merge branch 'child-properties' into 'master'

Remove some more child properties

See merge request GNOME/gtk!675

7 years agobuild: Install gtkboxlayout.h
Georges Basile Stavracas Neto [Thu, 28 Mar 2019 01:55:07 +0000 (22:55 -0300)]
build: Install gtkboxlayout.h

This is included by gtk.h, and thus required to build.

7 years agoConvert ui files
Matthias Clasen [Thu, 28 Mar 2019 01:28:16 +0000 (21:28 -0400)]
Convert ui files

Run gtk4-builder-tool simplify --3to4 over all ui files.

7 years agobuilder-tool: Rewrite paned child properties
Matthias Clasen [Thu, 28 Mar 2019 01:23:56 +0000 (21:23 -0400)]
builder-tool: Rewrite paned child properties

7 years agopaned: Replace the child properties
Matthias Clasen [Thu, 28 Mar 2019 01:21:48 +0000 (21:21 -0400)]
paned: Replace the child properties

Replace the resize and shrink child properties
by resize-child1/2 and shrink-child1/2 properties.

7 years agoMerge branch 'window-api-cleanup' into 'master'
Matthias Clasen [Thu, 28 Mar 2019 00:14:51 +0000 (00:14 +0000)]
Merge branch 'window-api-cleanup' into 'master'

GtkWindow api cleanup

See merge request GNOME/gtk!674

7 years agoConvert ui files
Matthias Clasen [Thu, 28 Mar 2019 00:03:59 +0000 (20:03 -0400)]
Convert ui files

Run gtk4-builder-tool simplify --3to4 over all ui files.

7 years agobuilder-tool: Rewrite toolbar child properties
Matthias Clasen [Thu, 28 Mar 2019 00:03:34 +0000 (20:03 -0400)]
builder-tool: Rewrite toolbar child properties

7 years agotoolbar: Remove the homogeneous and expand child properties
Matthias Clasen [Thu, 28 Mar 2019 00:02:48 +0000 (20:02 -0400)]
toolbar: Remove the homogeneous and expand child properties

Replace these with GtkToolItem properties homogeneous
and expand-item.

7 years agowin32: Drop set_role
Matthias Clasen [Wed, 27 Mar 2019 22:48:59 +0000 (18:48 -0400)]
win32: Drop set_role

One overlooked (non-)implementation of set_role.

7 years agowin32: Add a missing include
Matthias Clasen [Wed, 27 Mar 2019 22:47:56 +0000 (18:47 -0400)]
win32: Add a missing include

We are using round() now, so include math.h.

7 years agoConvert ui files
Matthias Clasen [Wed, 27 Mar 2019 22:40:40 +0000 (18:40 -0400)]
Convert ui files

Run gtk4-builder-tool simplify --3to4 over all ui files.

7 years agobuilder-tool: Rewrite GtkPopoverMenu::submenu
Matthias Clasen [Wed, 27 Mar 2019 22:38:29 +0000 (18:38 -0400)]
builder-tool: Rewrite GtkPopoverMenu::submenu

7 years agopopover menu: Drop the submenu child property
Matthias Clasen [Wed, 27 Mar 2019 22:37:57 +0000 (18:37 -0400)]
popover menu: Drop the submenu child property

We are using the GtkWidget::name property instead.

7 years agopopover menu: Add an api for adding submenus
Matthias Clasen [Wed, 27 Mar 2019 21:52:51 +0000 (17:52 -0400)]
popover menu: Add an api for adding submenus

This is a step towards removing the submenu
child property.

7 years agogdk: Drop gdk_surface_set_role
Matthias Clasen [Wed, 27 Mar 2019 21:15:26 +0000 (17:15 -0400)]
gdk: Drop gdk_surface_set_role

This is a very old X session management thing, and you
will be hard-pressed to find a session manager that can
make use of it, and even harder-pressed to find apps
using it to their advantage.

7 years agogdk: Stop implementing set_role
Matthias Clasen [Wed, 27 Mar 2019 21:14:33 +0000 (17:14 -0400)]
gdk: Stop implementing set_role

All but the X implementation of these were
empty anyway. And the X one is just setting
a property.

7 years agoRemove GtkWindow::role
Matthias Clasen [Wed, 27 Mar 2019 21:03:45 +0000 (17:03 -0400)]
Remove GtkWindow::role

...and the setter/getter for it.

This is a very old X session management thing, and you
will be hard-pressed to find a session manager that can
make use of it, and even harder-pressed to find apps
using it to their advantage.

7 years agofile chooser: Stop setting a role
Matthias Clasen [Wed, 27 Mar 2019 21:28:53 +0000 (17:28 -0400)]
file chooser: Stop setting a role

It does nothing.

7 years agoMerge branch 'fixed-layout' into 'master'
Matthias Clasen [Wed, 27 Mar 2019 18:51:04 +0000 (18:51 +0000)]
Merge branch 'fixed-layout' into 'master'

Add GtkFixedLayout

See merge request GNOME/gtk!668

7 years agoMerge branch 'wip/alexl/broadway6' into 'master'
Alexander Larsson [Wed, 27 Mar 2019 18:45:17 +0000 (18:45 +0000)]
Merge branch 'wip/alexl/broadway6' into 'master'

broadway: Use css transforms

See merge request GNOME/gtk!673

7 years agobroadway: Use css transforms
Alexander Larsson [Wed, 27 Mar 2019 18:27:16 +0000 (19:27 +0100)]
broadway: Use css transforms

This allows generic transforms nodes to work.

7 years agomigration guide: Improve warp-pointer entry
Matthias Clasen [Wed, 27 Mar 2019 18:21:26 +0000 (14:21 -0400)]
migration guide: Improve warp-pointer entry

Mention platform APIs.

7 years agoMerge branch 'pack-type' into 'master'
Matthias Clasen [Wed, 27 Mar 2019 18:12:01 +0000 (18:12 +0000)]
Merge branch 'pack-type' into 'master'

Drop some more child properties

See merge request GNOME/gtk!672

7 years agoMention pack-type in the migration guide
Matthias Clasen [Wed, 27 Mar 2019 17:52:47 +0000 (13:52 -0400)]
Mention pack-type in the migration guide

7 years agoConvert all ui files
Matthias Clasen [Wed, 27 Mar 2019 17:20:18 +0000 (13:20 -0400)]
Convert all ui files

Run gtk4-builder-tool simplify --3to4 over all ui files.

7 years agobuilder-tool: Rewrite pack-type
Matthias Clasen [Wed, 27 Mar 2019 17:14:39 +0000 (13:14 -0400)]
builder-tool: Rewrite pack-type

Replace GtkActionBar::pack-type and GtHeaderBar::pack-type
with child types when going from 3 to 4.

7 years agoaction bar: Drop pack-type
Matthias Clasen [Wed, 27 Mar 2019 17:16:07 +0000 (13:16 -0400)]
action bar: Drop pack-type

Drop the pack-type child property. Allow ui
files to direct children by adding a child
type for it.

7 years agoheader bar: Drop pack-type
Matthias Clasen [Wed, 27 Mar 2019 17:16:49 +0000 (13:16 -0400)]
header bar: Drop pack-type

Drop the pack-type child property. Allow ui files
to direct children by adding a child type.

7 years agodialog: Stop using GtkHeaderBar::pack-type
Matthias Clasen [Wed, 27 Mar 2019 17:35:38 +0000 (13:35 -0400)]
dialog: Stop using GtkHeaderBar::pack-type

We want to get rid of child properties.

7 years agobroadway: Fix leftover dom modification not using display_commands
Alexander Larsson [Wed, 27 Mar 2019 13:21:28 +0000 (14:21 +0100)]
broadway: Fix leftover dom modification not using display_commands

7 years agoMigration guide: Updates
Matthias Clasen [Wed, 27 Mar 2019 06:18:36 +0000 (02:18 -0400)]
Migration guide: Updates

7 years agoMerge branch 'entry-sizing' into 'master'
Matthias Clasen [Wed, 27 Mar 2019 05:55:06 +0000 (05:55 +0000)]
Merge branch 'entry-sizing' into 'master'

Entry sizing

Closes #1721

See merge request GNOME/gtk!670

7 years agotext: Allow growing entries
Matthias Clasen [Wed, 27 Mar 2019 05:40:17 +0000 (01:40 -0400)]
text: Allow growing entries

Add a propagate-text-width property, which, when set,
makes the entry request a natural width that is just
enough to fit the content, within the limits given
by width-chars and max-width-chars.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1721
7 years agosearch entry: Fix sizing
Matthias Clasen [Wed, 27 Mar 2019 04:22:32 +0000 (00:22 -0400)]
search entry: Fix sizing

Use the same sizing approach we use for GtkEntry:
ignore icons when measuring. This ensures that
search entries don't change size as icons come
and go.

7 years agopassword entry: Fix sizing
Matthias Clasen [Wed, 27 Mar 2019 04:21:11 +0000 (00:21 -0400)]
password entry: Fix sizing

Use the same sizing approach we use for GtkEntry:
ignore icons when measuring. This ensures that
password entries don't change size as icons come
and go.

7 years agoMerge branch 'get_caret_offset_negative_one' into 'master'
Matthias Clasen [Tue, 26 Mar 2019 23:14:48 +0000 (23:14 +0000)]
Merge branch 'get_caret_offset_negative_one' into 'master'

Return -1 for AtkText::get_caret_offset on failure

See merge request GNOME/gtk!666

7 years agoMerge branch 'gdk-api-cleanups' into 'master'
Matthias Clasen [Tue, 26 Mar 2019 22:37:27 +0000 (22:37 +0000)]
Merge branch 'gdk-api-cleanups' into 'master'

Gdk api cleanups

See merge request GNOME/gtk!669

7 years agoRename gdk_device_get_surface_at_position_double
Matthias Clasen [Tue, 26 Mar 2019 00:44:37 +0000 (20:44 -0400)]
Rename gdk_device_get_surface_at_position_double

We can drop the double suffix now.

7 years agoDrop gdk_device_get_surface_at_position
Matthias Clasen [Tue, 26 Mar 2019 00:39:08 +0000 (20:39 -0400)]
Drop gdk_device_get_surface_at_position

It is no longer used.

7 years agogtk: Stop using gtk_device_get_surface_at_position
Matthias Clasen [Tue, 26 Mar 2019 00:37:13 +0000 (20:37 -0400)]
gtk: Stop using gtk_device_get_surface_at_position

We should always use the double variant of the api.